<template>
  <div class="app-container" >
    <el-table v-loading="loading" :data="list">
      <el-table-column label="销售流程" align="center" prop="salesProcess" >
        <template slot-scope="scope">
          <dict-tag :options="dict.type.zxcrm_sales_process" :value="scope.row.salesProcess"/>
        </template>
      </el-table-column>
      <el-table-column label="商机名称" align="center" prop="bussinessOpportunity" fixed="left" />
      <el-table-column label="商机类型" align="center" prop="businessOppportunityType" >
        <template slot-scope="scope">
          <dict-tag :options="dict.type.zxcrm_business_opportunity_type" :value="scope.row.businessOppportunityType"/>
        </template>
      </el-table-column>
      <el-table-column label="流感（三价）-预计成交数量" align="center" prop="trivalentInfluenzaEstimatedTransactionQuantity" />
      <el-table-column label="流感（三价）-预计成交金额（元）" align="center" prop="trivalentInfluenzaEstimatedTransactionAmount" />
      <el-table-column label="流感（三价）-实际成交数量" align="center" prop="trivalentInfluenzaActualTransactionQuantity" />
      <el-table-column label="流感（三价）-实际成交金额（元" align="center" prop="trivalentInfluenzaActualTransactionAmount" />
      <el-table-column label="流感（四价）-预计成交数量" align="center" prop="quadrivalentInfluenzaEstimatedTransactionQuantity" />
      <el-table-column label="流感（四价）-预计成交金额（元）" align="center" prop="quadrivalentInfluenzaEstimatedTransactionAmount" />
      <el-table-column label="流感（四价）-实际成交数量" align="center" prop="quadrivalentInfluenzaActualTransactionQuantity" />
      <el-table-column label="流感（四价）-实际成交金额（元）" align="center" prop="quadrivalentInfluenzaActualTransactionAmount" />
      <el-table-column label="水痘（预充）-预计成交数量" align="center" prop="prefilledChickenpoxEstimatedTransactionQuantity" />
      <el-table-column label="水痘（预充）-预计成交金额（元）" align="center" prop="prefilledChickenpoxEstimatedTransactionAmount" />
      <el-table-column label="水痘（预充）-实际成交数量" align="center" prop="prefilledChickenpoxActualTransactionQuantity" />
      <el-table-column label="水痘（预充）-实际成交金额（元）" align="center" prop="prefilledChickenpoxActualTransactionAmount" />
      <el-table-column label="水痘（西林）-预计成交数量" align="center" prop="penicillinChickenpoxEstimatedTransactionQuantity" />
      <el-table-column label="水痘（西林）-预计成交金额（元）" align="center" prop="penicillinChickenpoxEstimatedTransactionAmount" />
      <el-table-column label="水痘（西林）-实际成交数量" align="center" prop="penicillinChickenpoxActualTransactionQuantity" />
      <el-table-column label="水痘（西林）-实际成交金额（元）" align="center" prop="penicillinChickenpoxActualTransactionAmount" />
      <el-table-column label="肺炎（预充）-预计成交数量" align="center" prop="prefilledPneumoniaEstimatedTransactionQuantity" />
      <el-table-column label="肺炎（预充）-预计成交金额（元）" align="center" prop="prefilledPneumoniaEstimatedTransactionAmount" />
      <el-table-column label="肺炎（预充）-实际成交数量" align="center" prop="prefilledPneumoniaActualTransactionQuantity" />
      <el-table-column label="肺炎（预充）-实际成交金额（元" align="center" prop="prefilledPneumoniaActualTransactionAmount" />
      <el-table-column label="肺炎（西林）-预计成交数量" align="center" prop="penicillinPneumoniaEstimatedTransactionQuantity" />
      <el-table-column label="肺炎（西林）-预计成交金额（元）" align="center" prop="penicillinPneumoniaEstimatedTransactionAmount" />
      <el-table-column label="肺炎（西林）-实际成交数量" align="center" prop="penicillinPneumoniaActualTransactionQuantity" />
      <el-table-column label="肺炎（西林）-实际成交金额（元" align="center" prop="penicillinPneumoniaActualTransactionAmount" />
      <el-table-column label="EV71（预充）-预计成交数量" align="center" prop="prefilledEv71EstimatedTransactionQuantity" />
      <el-table-column label="EV71（预充）-预计成交金额（元）" align="center" prop="prefilledEv71EstimatedTransactionAmount" />
      <el-table-column label="EV71（预充）-实际成交数量" align="center" prop="prefilledEv71ActualTransactionQuantity" />
      <el-table-column label="EV71（预充）-实际成交金额（元）" align="center" prop="prefilledEv71ActualTransactionAmount" />
      <el-table-column label="EV71（西林）-预计成交数量" align="center" prop="penicillinEv71EstimatedTransactionQuantity" />
      <el-table-column label="EV71（西林）-预计成交金额（元）" align="center" prop="penicillinEv71EstimatedTransactionAmount" />
      <el-table-column label="EV71（西林）-实际成交数量" align="center" prop="penicillinEv71ActualTransactionQuantity" />
      <el-table-column label="EV71（西林）-实际成交金额（元）" align="center" prop="penicillinEv71ActualTransactionAmount" />
      <el-table-column label="破伤风疫苗-预计成交数量" align="center" prop="tetanusVaccineEstimatedTransactionQuantity" />
      <el-table-column label="破伤风疫苗-预计成交金额（元）" align="center" prop="tetanusVaccineEstimatedTransactionAmount" />
      <el-table-column label="破伤风疫苗-实际成交数量" align="center" prop="tetanusVaccineActualTransactionQuantity" />
      <el-table-column label="破伤风疫苗-实际成交金额（元）" align="center" prop="tetanusVaccineActualTransactionAmount" />
      <el-table-column label="狂犬疫苗-预计成交数量" align="center" prop="rabiesVaccineEstimatedTransactionQuantity" />
      <el-table-column label="狂犬疫苗-预计成交金额（元）" align="center" prop="rabiesVaccineEstimatedTransactionAmount" />
      <el-table-column label="狂犬疫苗-实际成交数量" align="center" prop="rabiesVaccineActualTransactionQuantity" />
      <el-table-column label="狂犬疫苗-实际成交金额（元）" align="center" prop="rabiesVaccineActualTransactionAmount" />
      <el-table-column label="流脑四价-预计成交数量" align="center" prop="quadrivalentMeningococcalEstimatedTransactionQuantity" />
      <el-table-column label="流脑四价-预计成交金额（元）" align="center" prop="quadrivalentMeningococcalEstimatedTransactionAmount" />
      <el-table-column label="流脑四价-实际成交数量" align="center" prop="quadrivalentMeningococcalActualTransactionQuantity" />
      <el-table-column label="流脑四价-实际成交金额（元）" align="center" prop="quadrivalentMeningococcalActualTransactionAmount" />
      <el-table-column label="实际成交日期" align="center" prop="actualTransactionDate" width="180">
        <template slot-scope="scope">
          <span>{{ parseTime(scope.row.actualTransactionDate, '{y}-{m}-{d}') }}</span>
        </template>
      </el-table-column>
      <el-table-column label="预计回款金额（元）" align="center" prop="expectedCollectionAmount" />
      <el-table-column label="实际回款金额（元）" align="center" prop="actualCollectionAmount" />
      <el-table-column label="备注" align="center" prop="remark" />
      <el-table-column label="状态" align="center" prop="status">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.sys_normal_disable" :value="scope.row.status"/>
        </template>
      </el-table-column>

    </el-table>
  </div>
</template>

<script>
import { listContact, listAllContact} from "@/api/zxcrm/contact"
  export default{
    name:"businessOpportunityInfo",
    dicts: ['sys_normal_disable','zxcrm_business_opportunity_type','zxcrm_sales_process','zxcrm_business_opportunity_stage','zxcrm_permission_range','zxcrm_attention'],
    props:{
      list:{
        default:[]
      },
      loading:{
        type:Boolean,
        default:false
      },

    },
    data() {
      return{

      }
    },
    created(){
    },
    methods:{
    }

  }
</script>

<style>
</style>
